package com.example.shirodemo.mapper;

import com.example.shirodemo.base.BaseMapper;
import com.example.shirodemo.entity.SysPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @Author sgl
 * @Date 2018-06-11 17:21
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    List<String> selectPermissionByUserId(@Param("userId") long userId);
}
